package com.android.huimeiqupin.model.group;

import com.google.gson.Gson;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/7/3.
 */

public abstract  class MainSpreadDataCallback extends Callback<MainSpreadData> {

    @Override
    public MainSpreadData parseNetworkResponse(Response response, int id) throws Exception {
        String string = response.body().string();
        MainSpreadData Data = new Gson().fromJson(string,MainSpreadData.class);
        return Data;
    }
}

